const API = {
  getListPage: param => {
    return $http.post(`/apis/nacos_proxy/service/list`, param).then(response => response.data);
  },
  getServiceDetail: param => {
    return $http.get(`/apis/nacos_proxy/service/detail`, param).then(response => response.data);
  },
  getInstance: param => {
    return $http.post(`/apis/nacos_proxy/service/instances`, param).then(res => res.data)
  },
  changeInstance: param => {
    return $http.post('/apis/nacos_proxy/service/edit_instances', param).then(res => res.data)
  }
};
export default API;
